package com.taojie.graduation.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "ordert")
public class Ordert {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 流水号
     */
    @TableField(value = "seri")
    private String seri;

    /**
     * 购物车id
     */
    @TableField(value = "car_id")
    private Integer carId;

    /**
     * 是否支付： 1 是， 0 否
     */
    @TableField(value = "is_pay")
    private Integer isPay;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 商品id
     */
    @TableField(value = "product_id")
    private Integer productId;
}